﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SPAdvancedSearch.Inputs
{

    /// <summary>
    /// Extends a <see cref="TextBox"/> to support the <see cref="ISearchPropertyInputControl"/> interface.
    /// </summary>
    public class TextBoxEx : System.Web.UI.WebControls.TextBox, ISearchPropertyInputControl
    {
        #region ISearchPropertyInputControl Members

        /// <summary>
        /// Gets or sets the value of the input control.
        /// </summary>
        public string PropertyValue
        {
            get 
            {
                return this.Text;
            }
            set
            {
                this.Text = value;
            }
        }

        #endregion
    }
}
